package com.tarena.lbs.user.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.user.pojo.param.UserParam;
import com.tarena.lbs.user.pojo.vo.UserVO;

public interface UserService {

    /**
     * 用户注册
     * @param param 用户注册参数
     * @throws BusinessException 业务异常
     */
    void register(UserParam param) throws BusinessException;

    /**
     * 获取用户详情
     * @return 用户详情
     * @throws BusinessException 业务异常
     */
    UserVO getUserDetail() throws BusinessException;
}
